<template>
  <div>
    <h1>首页</h1>
    <button @click="back">返回</button>
  </div>
</template>
<script>
export default {
  methods: {
    back() {
      this.$router.back()
    }
  },
}
</script>
<style lang='' scoped>
</style>
